<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <f:view locale="#{bundle.locale}">
    <body>

        <ui:composition template="./Base.xhtml">

            <ui:define name="content">
                <div id="TwoContainers" class="container-fluid">
                    <div class="row-fluid">
                        <ui:include src="Menu.xhtml" />
                        <div id="bodyContent" class="span10">
                            <!--Body content-->     
                            <script type="text/javascript">
                                window.onload=function(){compt();};
                                var durrest = 5;
                                function compt()
                                {
                                    document.getElementById("compt").innerHTML=durrest;
                                        if (durrest == 0)
                                        {
                                            document.location.href="index.xhtml"
                                        }
                                        else
                                        {
                                            durrest -= 1;
                                            setTimeout(compt, 1000);
                                        }
                                }
                            </script>
                            <div align="center">
                                <br/> 
                                <h1><h:outputText value="#{msg.LabelThx}"/></h1>
                                <br/> 
                                <i class="icon-ok"></i>
                                <br/><br/>		   
                                <h:outputText value="#{msg.LabelPhrase1}"/><h:outputText id="compt"/><h:outputText value=" "/><h:outputText value="#{msg.LabelPhrase2}"/>
                                <br/><br/><br/>
                            </div>
                        </div>
                    </div>
                </div>
                
            </ui:define>

        </ui:composition>

    </body>
    </f:view>
</html>
